import os
#获取模型文件地址和资源文件地址
current_file = os.path.abspath(__file__)
# 获取当前文件的目录
current_directory = os.path.dirname(current_file)
# 获取根目录的绝对路径
root_directory = os.path.abspath(os.path.join(current_directory, '..'))


PPTX_FOLDER = os.path.join(root_directory, "resources", "pptx")
print(PPTX_FOLDER)

PICTURE_FOLDER = os.path.join(root_directory, "resources", "picture")
print(PICTURE_FOLDER)

AUDIO_FOLDER = os.path.join(root_directory, "resources", "audio")
print(AUDIO_FOLDER)

VIDEO_FOLDER = os.path.join(root_directory, "resources", "video")
print(VIDEO_FOLDER)


RESOURCES_FOLDER = os.path.join(root_directory, "resources")
print(RESOURCES_FOLDER)